package com.luoqiuy.poet.mapper;

import com.luoqiuy.poet.entity.Author;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AuthorMapper {

    Author loadAuthor(String authorName);

    void writeAuthor(Author regAuthor);

    void updateAuthorStatus(int authorId);
}
